package com.fan.admin.service;

import com.fan.commons.pojo.Course;

import java.util.List;

/**
 * @author fan
 * @date 2021/2/24
 */
public interface CourseService {

	int addCourse(Course course);

	int deleteCourseById(Integer id);

	int updateCourse(Course course);

	List<Course> queryCourse();

	Course queryCourseById(Integer id);

	Course queryCourseByCourseId(String courseId);

	List<Course> queryCourseByNature(Integer nature);

	List<Course> queryCourseActive(Course course);

	int updateCourseScore(Course course);
}
